[paket]
tanim   = Hafif PDF ve XPS görüntüleyici
paketci = milisarge
grup    = ofis
url     = https://mupdf.com
arsiv   = mupdf-${surum}-source

[gerek]
derleme = freetype freeglut glu harfbuzz jbig2dec libjpeg-turbo openjpeg2 libxext gumbo-parser
calisma =

[kaynak]
1       = https://mupdf.com/downloads/archive/mupdf-${surum}-source.tar.lz

[sha256]
1       = 68dbb1cf5e31603380ce3f1c7f6c431ad442fa735d048700f50ab4de4c3b0f82

[derle]
betik   = rm -rf thirdparty/{freeglut,freetype,harfbuzz,jbig2dec,libjpeg,openjpeg,zlib}
betik   = CFLAGS+=' -fPIC' ; CXXFLAGS+=' -fPIC' ;export CFLAGS CXXFLAGS
betik   = USE_SYSTEM_LIBS='yes' ; export USE_SYSTEM_LIBS
betik   = make build=release libs

[pakur]
betik   = make USE_SYSTEM_LIBS='yes' build=release prefix=${PKG}/usr install
betik	= rm -rf $PKG/usr/{bin,share}

